SET STSADM="%commonprogramfiles%\microsoft shared\web server extensions\12\bin\stsadm"
SET SOLUTIONFILE="WordToSharePoint.wsp"

%STSADM% -o retractsolution -name %SOLUTIONFILE% -immediate
%STSADM% -o execadmsvcjobs
%STSADM% -o deletesolution -name %SOLUTIONFILE%
%STSADM% -o execadmsvcjobs